﻿using Microsoft.AspNetCore.Mvc;
using System.Linq;

namespace CMS.Areas.Admin.Controllers
{
    [Area("Admin")]
    public class HomeController : BaseController
    {
        // GET: Admin/Home
        public override ActionResult Index(int? id)
        {
            ViewBag.RealName = Operator.RealName;
            ViewBag.HeadShot = Operator.HeadShot;

            return View(GetWebSiteInfo());
        }

        public ActionResult Main()
        {
            return View();
        }
    }
}